export interface HomeFormData {
  todayNewUser: number
  weekRelativeRatioNewUser: number
  yesterdayNewUser: number
  todayShopCount: number
  weekRelativeRatioShopCount: number
  yesterdayShopCount: number
  todayVisitUser: number
  weekRelativeRatioVisitUser: number
  yesterdayVisitUser: number
  todayVisitCount: number
  weekRelativeRatioVisitCount: number
  yesterdayVisitCount: number
}

export interface ChartDataItem {
  statsDate: string
  amount: number
  totalCount: number
}

export interface HomeChartData {
  orderAmountList: ChartDataItem[]
  orderCountList: ChartDataItem[]
  payUserCountList: ChartDataItem[]
  todayOrderCount: number
  dayToDayOrderCountRelativeRate: number
  curMonthOrderCount: number
  monthToMonthOrderCountRelativeRate: number
  todayPayUserCount: number
  dayToDayPayUserCountRelativeRate: number
  curMonthPayUserCount: number
  monthToMonthPayUserCountRelativeRate: number
}

export interface HomeFormResponse {
  data: HomeFormData
}

export interface HomeChartResponse {
  data: HomeChartData
}
